home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / cbm / 5272 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.9 KB  |  48 lines

  1. Path: f411.n201!not-for-mail
  2. Newsgroups: comp.sys.cbm
  3. X-Comment-To: riverYard
  4. From: Pontus Berg <Pontus.Berg@p71.anet.canit.se>
  5. Date: Mon, 08 Apr 96 01:19:18 +0200
  6. Subject: programming question:block-X commands
  7. Message-ID: <828951461@p71.f411.n201.z2.ftn>
  8. References: <1834008510@news.xmission.com>
  9. Organization: BoArDgasm, Farsta, Sweden
  10. X-FTN-AREA: CANIT_COMP_SYS_CBM
  11. X-FTN-MSGID: 2:201/411.71 3168cba5
  12. X-FTN-REPLY: news.xmission.com 6d50bfbe
  13. X-FTN-CHRS: IBMPC 2
  14. X-FTN-Tearline: Spot 1.3a #676
  15. X-FTN-Origin: BoArDgasm, Farsta, Sweden (2:201/411.71)
  16. X-FTN-SEEN-BY: 201/411 
  17. X-FTN-PATH: 201/411 
  18. X-FTN-PATH: 201/411
  19.  
  20. In a message of 05 Apr 96 riverYard wrote to All:
  21.  
  22.  r> i asked this earlier but i lost the answer, and it didn't help much
  23.  r> anyhooz.  i was told that to use the U1 and U2 drive commands through
  24.  r> assembly, you had to send the whole thing as a big block of text, i.e.:
  25.  r> ..byte "U1: 2 0 18 1" for channel, drive, track, block respectively.  i
  26.  r> don't have a number-to-text routing written yet and i don't want to deal
  27.  r> with it right now.  can i send ..byte "U1:",2,0,18,1 instead?  last time
  28.  r> i tried this and it didn't work,  but i was using B-R instead.
  29.  
  30. No, no and no! The numbers also have to be "coded" as text, so use
  31.  
  32. .text "U1: 2 0 18 1"
  33.  
  34. (.text is the pseudoopcode I use for text). $BDCD is an address that springs to
  35. mind when it comes to printing values as strings. Input a hexvalue and see it
  36. output to the current channel as decimal coded as text. A necessety for prining
  37. directories!
  38.  
  39. No commas or anything inbetween. I *think* you terminate the command with $0d,
  40. but this is something I have to check if you don't get it to work!
  41.  
  42. )==========================================================(
  43. )  o/    Bacchus@FairLight.COM  Fido: 2:201/411.71         (
  44. ) (#  I'm a "geek tool" so ask about emulators elsewhere!  (
  45. )=/7=======================================================(
  46.  
  47. ... "The first point and click interface - Smith & Wesson"
  48.